package com.changan.service.impl;

import com.changan.dao.UserDao;
import com.changan.pojo.SmbmsUser;
import com.changan.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userService")
public class UserServiceImpl implements UserService{
    @Autowired
    @Qualifier("userDao")
    private UserDao userDao;

    @Override
    public List<SmbmsUser> findUsers() {
        return userDao.findUsers();
    }
}
